﻿CREATE TABLE [config].[TraceDefinitions] (
    [TraceName]          NVARCHAR (256) NOT NULL,
    [Event]              NVARCHAR (31)  NULL,
    [Column]             NVARCHAR (20)  NOT NULL,
    [Filter]             NVARCHAR (50)  NULL,
    [LogicalOperator]    NCHAR (3)      NULL,
    [ComparisonOperator] NCHAR (8)      NULL,
    [FilterValue]        SQL_VARIANT    NULL,
    [Enabled]            BIT            CONSTRAINT [DF_ConfigTraceDefinitions_Enabled] DEFAULT ((1)) NOT NULL,
    [DefinitionID]       INT            IDENTITY (1, 1) NOT NULL,
    CONSTRAINT [PK_ConfigTraceDefinitions] PRIMARY KEY CLUSTERED ([DefinitionID] ASC)
);

